﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO {
    /// <summary>
    /// 确认收益
    /// </summary>
   public class confirm_user_bill_model {
        public long user_id { get; set; }
        /// <summary>
        /// 账单详情id
        /// </summary>
        [Required]
        public long bill_deatil_id { get; set; }
        /// <summary>
        ///确认 凭证
        /// </summary>
        [Required(ErrorMessage ="请上传确认凭证")]
        public string comfirm_transfer_voucher { get; set; }
    }
    /// <summary>
    /// 确认分佣
    /// </summary>
    public class confirm_bill_maid_model {
        public long merchant_id { get; set; }
        /// <summary>
        /// 账单详情id
        /// </summary>
        [Required]
        public long bill_id { get; set; }
        /// <summary>
        ///账单明细凭证
        /// </summary>
      public List<bill_detail_model> bill_details { get; set; }
    }
    public class bill_detail_model {
        [Required]
        public long bill_deatil_id { get; set; }
        /// <summary>
        ///确认 凭证
        /// </summary>
        [Required(ErrorMessage = "请上传转账凭证")]
        public string transfer_voucher { get; set; }
    }
}
